package com.zaimokuza.cn.entity.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author zaimokuza
 */
@ApiModel("用户简要信息")
@Data
public class BriefUser {

    @ApiModelProperty("用户ID")
    private String id;
    @ApiModelProperty("昵称")
    private String name;
    @ApiModelProperty("域名")
    private String domain;
    @ApiModelProperty("简介")
    private String introduction;
    @ApiModelProperty("性别")
    private Integer sex;
    @ApiModelProperty("头像")
    private String avatar;
    @ApiModelProperty("博客数量")
    private Integer blogTotal;
    @ApiModelProperty("粉丝数量")
    private Integer followers;
    @ApiModelProperty("关注数量")
    private Integer following;
    @ApiModelProperty("是否为当前域的拥有者")
    private Boolean isOwner = false;
    @ApiModelProperty("是否关注当前用户")
    private Boolean isFollow = false;

}
